package com.dongdong;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient    //开启nacos自动发现与服务注册
@MapperScan("com.dongdong.mapper")
public class ContentCategoryApp {
    public static void main(String[] args) {
        SpringApplication.run(ContentCategoryApp.class, args);
    }
}
